/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.sigmatrix.sc.jdbc.common.annotation.Column;
import com.sigmatrix.sc.jdbc.common.annotation.Table;

/**
 *@ClassName: DisRebateStrategy
 *@Description: 返利策略
 *@author MH
 *@date 2017年8月17日 上午10:10:44
 */
@Table("_distribution_rebate_strategy")
public class DisRebateStrategy implements Serializable{
	
	private static final long serialVersionUID = -1715411214911873042L;

	@Column(value="_id",id=true)
	private Integer id;
	
	@Column("_name")
	private String name;
	
	@Column("_rebate_type")
	private Short rebateType;

	@Column("_rebate_period")
	private Short rebatePeriod;
	
	@Column("_rebate_level")
	private Short rebateLevel;
	
	@Column("_scan_code_type")
	private Short scanCodeType;
	
	@Column("_total_amount")
	private BigDecimal totalAmount;
	
	@Column("_condition_id")
	private Integer conditionId;
	
	@Column("_status")
	private Short status;
	
	@Column("_creator_id")
	private Integer creatorId;
	
	@Column("_create_time")
	private Date createTime;
	
	@Column("_last_update_id")
	private Integer lastUpdateId;
	
	@Column("_last_update_time")
	private Date lastUpdateTime;

	/**
	 *@return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 *@param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 *@return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 *@param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 *@return the rebateType
	 */
	public Short getRebateType() {
		return rebateType;
	}

	/**
	 *@param rebateType the rebateType to set
	 */
	public void setRebateType(Short rebateType) {
		this.rebateType = rebateType;
	}

	/**
	 *@return the rebatePeriod
	 */
	public Short getRebatePeriod() {
		return rebatePeriod;
	}

	/**
	 *@param rebatePeriod the rebatePeriod to set
	 */
	public void setRebatePeriod(Short rebatePeriod) {
		this.rebatePeriod = rebatePeriod;
	}

	/**
	 *@return the rebateLevel
	 */
	public Short getRebateLevel() {
		return rebateLevel;
	}

	/**
	 *@param rebateLevel the rebateLevel to set
	 */
	public void setRebateLevel(Short rebateLevel) {
		this.rebateLevel = rebateLevel;
	}

	/**
	 *@return the scanCodeType
	 */
	public Short getScanCodeType() {
		return scanCodeType;
	}

	/**
	 *@param scanCodeType the scanCodeType to set
	 */
	public void setScanCodeType(Short scanCodeType) {
		this.scanCodeType = scanCodeType;
	}

	/**
	 *@return the totalAmount
	 */
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	/**
	 *@param totalAmount the totalAmount to set
	 */
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	/**
	 *@return the conditionId
	 */
	public Integer getConditionId() {
		return conditionId;
	}

	/**
	 *@param conditionId the conditionId to set
	 */
	public void setConditionId(Integer conditionId) {
		this.conditionId = conditionId;
	}

	/**
	 *@return the status
	 */
	public Short getStatus() {
		return status;
	}

	/**
	 *@param status the status to set
	 */
	public void setStatus(Short status) {
		this.status = status;
	}

	/**
	 *@return the creatorId
	 */
	public Integer getCreatorId() {
		return creatorId;
	}

	/**
	 *@param creatorId the creatorId to set
	 */
	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	/**
	 *@return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 *@param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 *@return the lastUpdateId
	 */
	public Integer getLastUpdateId() {
		return lastUpdateId;
	}

	/**
	 *@param lastUpdateId the lastUpdateId to set
	 */
	public void setLastUpdateId(Integer lastUpdateId) {
		this.lastUpdateId = lastUpdateId;
	}

	/**
	 *@return the lastUpdateTime
	 */
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	/**
	 *@param lastUpdateTime the lastUpdateTime to set
	 */
	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
